package io.rocketman.transport;

import io.rocketman.transport.channel.Channel;

import java.net.InetSocketAddress;

/**
 * @author He Peng
 * @create 2018-05-25 3:06
 * @update 2018-05-25 3:06
 * @updatedesc : 更新说明
 * @see
 */
public class TimeoutException extends NetworkTransportException {

    public TimeoutException(Channel channel, String errorMsg) {
        super(channel, errorMsg);
    }

    public TimeoutException(Channel channel, String errorMsg, Throwable cause) {
        super(channel, errorMsg, cause);
    }

    public TimeoutException(InetSocketAddress localAddress, InetSocketAddress remoteAddress, String errorMsg) {
        super(localAddress, remoteAddress, errorMsg);
    }

    public TimeoutException(InetSocketAddress localAddress, InetSocketAddress remoteAddress, String errorMsg, Throwable cause) {
        super(localAddress, remoteAddress, errorMsg, cause);
    }
}
